package com.cnap.model.progress;

import com.cnap.model.schedule.MicroServiceVOForSplit;

import java.util.List;

/**
 * 分解微服务的进度条
 *
 * @author xc
 **/
public class ProgressVOForSplit {
    // id
    private String id;
    // stage
    private String stage;
    // 百分比
    private int percent;
    // 异常
    private String exception;
    // 微服务信息
    private List<MicroServiceVOForSplit> microServices;

    /**
     * get
     *
     * @return Id
     */
    public String getId() {
        return id;
    }

    /**
     * set
     *
     * @param id id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * get
     *
     * @return Stage
     */
    public String getStage() {
        return stage;
    }

    /**
     * set
     *
     * @param stage stage
     */
    public void setStage(String stage) {
        this.stage = stage;
    }

    /**
     * get
     *
     * @return Percent
     */
    public int getPercent() {
        return percent;
    }

    /**
     * set
     *
     * @param percent percent
     */
    public void setPercent(int percent) {
        this.percent = percent;
    }

    /**
     * get
     *
     * @return Exception
     */
    public String getException() {
        return exception;
    }

    /**
     * set
     *
     * @param exception exception
     */
    public void setException(String exception) {
        this.exception = exception;
    }

    /**
     * get
     *
     * @return MicroServices
     */
    public List<MicroServiceVOForSplit> getMicroServices() {
        return microServices;
    }

    /**
     * set
     *
     * @param microServices microServices
     */
    public void setMicroServices(List<MicroServiceVOForSplit> microServices) {
        this.microServices = microServices;
    }
}
